package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author doujiao
 * @since 2022-10-10
 */
@Getter
@Setter
@TableName("tb_doctor")
@ApiModel(value = "Doctor对象", description = "")
public class Doctor implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("医生名字")
      private String name;

      @ApiModelProperty("电话")
      private String phone;

      @ApiModelProperty("医生头像")
      private String image;

      @ApiModelProperty("角色")
      private Long roleId;

      @ApiModelProperty("性别（0，女，1男）")
      private String sex;

      @ApiModelProperty("团队编号（id）")
      private Long teamId;

      @ApiModelProperty("机构编号")
      private Long organizationId;

      @ApiModelProperty("医生描述")
      private String description;

      @ApiModelProperty("医生擅长（技能）")
      private String skill;

      @ApiModelProperty("状态（0，签约，1未签约）")
      private String status;

      @ApiModelProperty("开始时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

      @ApiModelProperty("是否删除（0未删除，1删除）")
      @TableLogic
      private String isDelete;
}
